home *** CD-ROM | disk | FTP | other *** search
/ PC Zone 96 / PC Zone #096.7z / Dppcz1200.mdf / Demos / Gunlok / data1.cab / Program_Executable_Files / scripts / walking_mine.gsh < prev    next >
Text File  |  2000-09-09  |  2KB  |  97 lines

  1. // defines Walking Mine
  2. ////////////////////////////////////////////////////////////////////////////////////
  3.  
  4. // start wrapper - prevent multiple inclusions or recursive inclusions
  5.  
  6. //(this currently causes 'unrecognized preprocessor directive' warnings, until implemented)
  7. #ifndef INCLUDED_WALKING_MINE_GSH
  8. #define INCLUDED_WALKING_MINE_GSH
  9.  
  10. ////////////////////////////////////////////////////////////////////////////////////
  11.  
  12. #include "defaults.gsh"
  13. #include "minefrag.gsh"
  14.  
  15. hierarchy Hcy_Minebot
  16. {
  17.     file "units\minebot.RIF"
  18.     name "minebot"
  19.     hotspot ""
  20. }
  21.  
  22. character Chr_Walking_Mine : Chr_DefaultBaddie
  23. {
  24.     turning speed   0.3
  25.     walking speed   1
  26.     strength        20    // can absorb a small amount of damage
  27.     aim             0    // spot on!
  28.     sight angle        30    // in degrees
  29.     sight range     20    // in metres
  30.     hearing range    15    // in metres
  31.     aggression        1    // from 0 to 1
  32.  
  33.     always cpu controlled    yes
  34.     vision cone        no
  35.  
  36.     blob shadow        spider
  37. }
  38.  
  39. character Chr_mini_Walking_Mine : Chr_Walking_Mine
  40. {
  41.     size 0.7
  42. }
  43.  
  44. role Rol_Walking_Mine : Rol_DefaultRobot
  45. {
  46.     shape        Hcy_Minebot
  47.     character    Chr_Walking_Mine
  48.     identifier    "minebot"
  49.     recon name    heavy_minebot recon
  50.     destructibility Frg_Minebot
  51.     ai        minebot
  52.     limit        80                // damage done
  53. }
  54.  
  55. role Rol_Smartbot : Rol_DefaultRobot
  56. {
  57.     shape        Hcy_Minebot
  58.     character    Chr_Walking_Mine
  59.     identifier    "smartbot"
  60.     recon name    heavy_minebot recon
  61.     destructibility Frg_Minebot
  62.     ai        swarm
  63.     limit        60                // damage done
  64. }
  65.  
  66. character Chr_Mini_Minebot : Chr_mini_Walking_Mine
  67. {
  68.     sight range     15    // in metres
  69. }
  70.  
  71. role Rol_Mini_Minebot : Rol_DefaultRobot
  72. {
  73.     shape        Hcy_Minebot
  74.     character    Chr_Mini_Minebot
  75.     identifier    "mini_minebot"
  76.     recon name    minebot recon
  77.     destructibility Frg_Minebot
  78.     ai            minebot
  79.     limit        30                // damage done
  80. }
  81.     
  82. role Rol_mini_Smartbot : Rol_DefaultRobot
  83. {
  84.     shape        Hcy_Minebot
  85.     character    Chr_mini_Walking_Mine
  86.     identifier    "mini_smartbot"
  87.     recon name    minebot recon
  88.     destructibility Frg_Minebot
  89.     ai        swarm
  90.     limit        30                // damage done
  91. }
  92.  
  93. ////////////////////////////////////////////////////////////////////////////////////
  94.  
  95. // end wrapper - for preventing multiple or recursive inclusions
  96. #endif // !INCLUDED_WALKING_MINE_GSH
  97.